package tech.aistar.service.authordis;

import com.github.pagehelper.PageInfo;
import tech.aistar.entity.authordis.NoteAuthor;
import tech.aistar.entity.authordis.Notes;



/**
 * Created by lenovo on 2019/10/11.
 */
public interface ITravelerInfoDisService {

    PageInfo<Notes> findNotesByAuthorId(Integer id,Integer pageNum, Integer pageSize);


    /**
     * 通过用户id查询其游记作者
     * @return
     */
    NoteAuthor findAuthorByUserId(Integer id);

    /**
     * 根据游记id进行下架更新操作
     * @param id
     */
    void updateNoteById(Integer id);
}
